package com.achievement.project.system.scoreBackup.domain;

import com.achievement.framework.aspectj.lang.annotation.Excel;
import com.achievement.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 成绩备份对象 sys_score
 *
 * @author zkai
 * @date 2021-05-02
 */
public class ScoreBackup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 学号 */
    @Excel(name = "学号")
    private String sNo;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String sName;

    /** 学生id */
    private Long studentId;

    /** 授课教师 */
    private Long teacherId;

    @Excel(name = "授课教师")
    private String teacherName;

    /** 课程类别 */
    @Excel(name = "课程类别",dictType = "sys_course_type")
    private Long cTypeId;

    /** 课程 */
    private Long courseId;

    @Excel(name = "课程")
    private String courseName;

    /** 年级 */
    @Excel(name = "年级",dictType = "sys_grade")
    private Long gradeId;

    /** 专业 */
    @Excel(name = "专业",dictType = "sys_professional")
    private Long professionalId;

    /** 班级 */
    @Excel(name = "班级",dictType = "sys_class")
    private Long classId;

    /** 成绩 */
    @Excel(name = "成绩")
    private String score;

    /** 学期 */
    private String semester;

    /** 绩点 */
    private String point;

    /** 排名 */
    private String ranking;

    /** 专业排名 */
    private String pRanking;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setsNo(String sNo)
    {
        this.sNo = sNo;
    }

    public String getsNo()
    {
        return sNo;
    }
    public void setsName(String sName)
    {
        this.sName = sName;
    }

    public String getsName()
    {
        return sName;
    }
    public void setStudentId(Long studentId)
    {
        this.studentId = studentId;
    }

    public Long getStudentId()
    {
        return studentId;
    }
    public void setTeacherId(Long teacherId)
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId()
    {
        return teacherId;
    }
    public void setcTypeId(Long cTypeId)
    {
        this.cTypeId = cTypeId;
    }

    public Long getcTypeId()
    {
        return cTypeId;
    }
    public void setCourseId(Long courseId)
    {
        this.courseId = courseId;
    }

    public Long getCourseId()
    {
        return courseId;
    }
    public void setGradeId(Long gradeId)
    {
        this.gradeId = gradeId;
    }

    public Long getGradeId()
    {
        return gradeId;
    }
    public void setProfessionalId(Long professionalId)
    {
        this.professionalId = professionalId;
    }

    public Long getProfessionalId()
    {
        return professionalId;
    }
    public void setClassId(Long classId)
    {
        this.classId = classId;
    }

    public Long getClassId()
    {
        return classId;
    }
    public void setScore(String score)
    {
        this.score = score;
    }

    public String getScore()
    {
        return score;
    }
    public void setSemester(String semester)
    {
        this.semester = semester;
    }

    public String getSemester()
    {
        return semester;
    }
    public void setPoint(String point)
    {
        this.point = point;
    }

    public String getPoint()
    {
        return point;
    }
    public void setRanking(String ranking)
    {
        this.ranking = ranking;
    }

    public String getRanking()
    {
        return ranking;
    }
    public void setpRanking(String pRanking)
    {
        this.pRanking = pRanking;
    }

    public String getpRanking()
    {
        return pRanking;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sNo", getsNo())
            .append("sName", getsName())
            .append("studentId", getStudentId())
            .append("teacherId", getTeacherId())
            .append("cTypeId", getcTypeId())
            .append("courseId", getCourseId())
            .append("gradeId", getGradeId())
            .append("professionalId", getProfessionalId())
            .append("classId", getClassId())
            .append("score", getScore())
            .append("semester", getSemester())
            .append("point", getPoint())
            .append("ranking", getRanking())
            .append("pRanking", getpRanking())
            .toString();
    }
}
